import {
    HomeOutlined,
    AppstoreOutlined,
    UnorderedListOutlined,
    ToolOutlined,
    UserOutlined,
    SafetyOutlined,
    AreaChartOutlined,
    PieChartOutlined,
    LineChartOutlined,
    BarChartOutlined,
    FundOutlined
} from "@ant-design/icons";

let menuConfigMap = new Map();
menuConfigMap.set("/home", { title: "首页", iconObj: <HomeOutlined />, linkto: "/admin/home" });
menuConfigMap.set("/products", { title: "商品", iconObj: <AppstoreOutlined />, linkto: "" });
menuConfigMap.set("/category", { title: "分类管理", iconObj: <UnorderedListOutlined />, linkto: "/admin/products/category" });
menuConfigMap.set("/product", { title: "商品管理", iconObj: <ToolOutlined />, linkto: "/admin/products/product" });
menuConfigMap.set("/order", { title: "订单管理", iconObj: <FundOutlined />, linkto: "/admin/order" });
menuConfigMap.set("/user", { title: "用户管理", iconObj: <UserOutlined />, linkto: "/admin/user" });
menuConfigMap.set("/role", { title: "角色管理", iconObj: <SafetyOutlined />, linkto: "/admin/role" });
menuConfigMap.set("/charts", { title: "图表", iconObj: <AreaChartOutlined />, linkto: "" });
menuConfigMap.set("/bar", { title: "柱状图", iconObj: <BarChartOutlined />, linkto: "/admin/charts/bar" });
menuConfigMap.set("/line", { title: "折线图", iconObj: <LineChartOutlined />, linkto: "/admin/charts/line" });
menuConfigMap.set("/pie", { title: "饼状图", iconObj: <PieChartOutlined />, linkto: "/admin/charts/pie" });

export default menuConfigMap;